﻿using System;

namespace housingsafety.server.Helpers
{
    public class BackupTrans
    {
        public BackupTrans(string backupRoot, string transId, DateTime dt)
        {
            BackupRoot = backupRoot;
            TransId = transId;
            Dt = dt;
        }

        public DateTime Dt { get; }
        public string BackupRoot { get; }
        public string TransId { get; }

        public void Commit()
        {
            DiskFileStoreHelper.SuccBackupFiles(this, new System.Text.StringBuilder());
        }
    }
}
